package ycl.message;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;
import ycl.common.properties.EmailProperties;
import ycl.common.properties.TencentMapProperties;

@SpringBootApplication
@EnableSwagger2WebMvc
@ComponentScan("ycl.*")
@MapperScan("ycl.*.mapper")
@EnableConfigurationProperties({
		EmailProperties.class,
		TencentMapProperties.class})
public class MessageApplication {

	public static void main(String[] args) {
		SpringApplication.run(MessageApplication.class, args);
	}

}
